package com.softer.chengxin.score.entity;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @author Gong Zhiyang
 * @date 2020/3/18
 */
@Data
public class Credit {
    /**
     *
     */
    private Integer id;
    /**
     * 企业ID
     */
    private Integer corpId;
    /**
     * 年份
     */
    private String year;
    /**
     * 企业基本信息分数
     */
    private BigDecimal companyBasicScore;
    /**
     * 企业党建信息分数
     */
    private BigDecimal partyScore;
    /**
     * 企业缴纳保险和公积金员工数，不足20人 1分；20-50 2分； 50-100 3分；>100 4分
     */
    private BigDecimal personScore;
    /**
     * 企业管理技术人员情况
     */
    private BigDecimal artisanScore;
    /**
     * 企业员工素质情况
     */
    private BigDecimal staffScore;
    /**
     * 企业经营情况分数
     */
    private BigDecimal corpManageScore;
    /**
     * 物业服务规模分数
     */
    private BigDecimal serviceScore;
    /**
     * 参与保障性住房，老旧小区服务分数
     */
    private BigDecimal oldScore;
    /**
     * 优良总得分
     */
    private BigDecimal excellentScore;
    /**
     * 负面总得分
     */
    private BigDecimal negativeScore;
    /**
     * 创建时间
     */
    private String gmtCreate;
    /**
     * 修改时间
     */
    private String gmtModify;
    /**
     * 优良信用名称
     */
    private String excellentName = "优良信用信息(40分)";
    /**
     * 优良信息集合
     */
    private List<Map> excellentList;
    /**
     * 不良信息名称
     */
    private String negativeName = "不良信用信息";
    /**
     * 不良信息集合
     */
    private List<Map> negativeList;

    public Credit() {
    }

    public Credit(Integer corpId, String year, BigDecimal companyBasicScore, BigDecimal partyScore, BigDecimal personScore, BigDecimal artisanScore, BigDecimal staffScore, BigDecimal corpManageScore, BigDecimal serviceScore, BigDecimal oldScore, BigDecimal excellentScore, BigDecimal negativeScore) {
        this.corpId = corpId;
        this.year = year;
        this.companyBasicScore = companyBasicScore;
        this.partyScore = partyScore;
        this.personScore = personScore;
        this.artisanScore = artisanScore;
        this.staffScore = staffScore;
        this.corpManageScore = corpManageScore;
        this.serviceScore = serviceScore;
        this.oldScore = oldScore;
        this.excellentScore = excellentScore;
        this.negativeScore = negativeScore;
    }
}
